package com.base.common.persistent.model;

import java.util.List;

/**
 * 区县实体类
 * 
 * @author kat.luhongkai
 * 
 */
public class District {
	private City city; // 市
	private List<Compounds> compoundsList;
	private int id; // 主键id
	private String name; // 区县名称

	public City getCity() {
		return city;
	}

	/**
	 * @return the compoundsList
	 */
	public List<Compounds> getCompoundsList() {
		return compoundsList;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public void setCity(City city) {
		this.city = city;
	}

	/**
	 * @param compoundsList the compoundsList to set
	 */
	public void setCompoundsList(List<Compounds> compoundsList) {
		this.compoundsList = compoundsList;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}
}
